package com.sqx.modules.health.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * 患者用药表
 * </p>
 *
 * @author hsx
 * @since 2022-08-30
 */
@Getter
@Setter
  @TableName("ncg_app_medicine")
@ApiModel(value = "AppMedicine对象", description = "患者用药表")
public class AppMedicine implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("记录id")
        @TableId(value = "id", type = IdType.AUTO)
      private Long id;

      @ApiModelProperty("药品分类")
      private String category;

      @ApiModelProperty("通用名/商品名")
      private String name;

      @ApiModelProperty("患者姓名")
      private String patname;

      @ApiModelProperty("剂型")
      private String dosage;

      @ApiModelProperty("规格")
      private String specification;

      @ApiModelProperty("包装")
      private String pack;

      @ApiModelProperty("生产厂家")
      private String factory;

      @ApiModelProperty("使用数量")
      private Integer usenum;

      @ApiModelProperty("单位")
      private String unit;

      @ApiModelProperty("单价")
      private Double price;

      @ApiModelProperty("金额")
      private Double cost;


}
